package com.zuihai.app.mvp.model.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.zuihai.app.mvp.constant.HomeConstant;

import java.util.List;

/**
 * Created by Panda_Program on 2017/10/3 0003.
 */

public class MyFootCollectCheckResult implements MultiItemEntity {
    private String shoucang_liebiao_id;
    private String tiaomu_id;
    private String title;
    private List<MyBaseModelPicture> picture;
    private long time;
    private int muban_Tag;
    private String shenhe;
    private int delect_Tag;
    private int flag;
    private String  type;
    private int pinglun_count;
    private int dianzan_count;
    private String name;
    private String faxian_id;
    public boolean isSelect =false;

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public String getFaxian_id() {
        return faxian_id;
    }

    public void setFaxian_id(String faxian_id) {
        this.faxian_id = faxian_id;
    }

    public String getShoucangLiebiaoId() {
        return shoucang_liebiao_id;
    }

    public void setShoucangLiebiaoId(String shoucang_liebiao_id) {
        this.shoucang_liebiao_id = shoucang_liebiao_id;
    }

    public String getTiaomuId() {
        return tiaomu_id;
    }

    public void setTiaomuId(String tiaomu_id) {
        this.tiaomu_id = tiaomu_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<MyBaseModelPicture> getPicture() {
        return picture;
    }

    public void setPicture(List<MyBaseModelPicture> picture) {
        this.picture = picture;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getMubanTag() {
        return muban_Tag;
    }

    public void setMubanTag(int muban_Tag) {
        this.muban_Tag = muban_Tag;
    }

    public String getShenhe() {
        return shenhe;
    }

    public void setShenhe(String shenhe) {
        this.shenhe = shenhe;
    }

    public int getDelectTag() {
        return delect_Tag;
    }

    public void setDelectTag(int delect_Tag) {
        this.delect_Tag = delect_Tag;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPinglunCount() {
        return pinglun_count;
    }

    public void setPinglunCount(int pinglun_count) {
        this.pinglun_count = pinglun_count;
    }

    public int getDianzanCount() {
        return dianzan_count;
    }

    public void setDianzanCount(int dianzan_count) {
        this.dianzan_count = dianzan_count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int getItemType() {
        if (muban_Tag == HomeConstant.TWO_TYPE || muban_Tag == HomeConstant.ONE_TYPE) {
            if (picture.size() == 3) {
                return HomeConstant.ONE_TYPE;
            } else {
                return HomeConstant.TWO_TYPE;
            }
        }
        return muban_Tag;
    }
}
